package com.zx.erp.sys.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zx.erp.sys.bean.Job;
import com.zx.erp.sys.bean.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.catalina.User;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者信息
 * @since 2021-11-10
 */
public interface UsersMapper extends BaseMapper<Users> {
    public Users login(String uname, String upassword);
    public Page<Users> findAll(IPage<Users> page, Users users);
    public int add(Users users);
    public List<Job> selectjob(Job job);
    public List<Users> selectUser(Users users);
    public int up(Users users);
    Users selectByPrimaryKey(Integer uId);
    public List<Users> findAll(Users users);


}
